<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <script type="text/javascript" src="${ctx}/appjs/member/memberAccount/memberAccount.js"></script>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return'<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>财务管理</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>平台钱包</strong>' +
            '</li>' +
            '</ol>';
    });

    var has_add = '';
    var has_edit = '';
    var has_delete = '';
</script>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="row">
                    <%--<div class="columns pull-left">--%>
                    <%--<button type="button" class="btn  btn-primary" onclick="order.addOrder()">--%>
                    <%--增加桩群--%>
                    <%--</button>--%>
                    <%--</div>--%>
                    <div class="pull-left search col-md-2">
                        <input id="nickname" name="nickname" type="text" class="form-control"
                               placeholder="会员名">
                    </div>
                    <div class="pull-left search col-md-2">
                        <input id="mobile" name="mobile" type="text" class="form-control"
                               placeholder="手机号">
                    </div>
                    <%--<div class="pull-left search col-md-2">--%>
                        <%--<select class="form-control" id="memberType" name="memberType">--%>
                            <%--<option value="">会员类型</option>--%>
                            <%--<option value="0">个人</option>--%>
                            <%--<option value="1">企业</option>--%>
                            <%--<option value="2">互联互通用户</option>--%>
                        <%--</select>--%>
                    <%--</div>--%>

                    <div class="pull-left search col-md-2">
                        <button class="btn btn-success" onclick="memberAccount.reLoad()">查询</button>
                    </div>
                </div>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">

    layui.use('laydate', function () {
        var laydate = layui.laydate;
        var startTime = laydate.render({
            elem: '#startTime',
            type: 'datetime',
            format: 'yyyy-MM-dd HH:mm:ss',
            trigger: 'click',
            done: function (value, dates) {
                endTime.config.min = {
                    year: dates.year,
                    month: dates.month - 1, //关键
                    date: dates.date,
                    hours: 0,
                    minutes: 0,
                    seconds: 0
                };
            }
        });
        var endTime = laydate.render({
            elem: '#endTime',
            type: 'datetime',
            format: 'yyyy-MM-dd HH:mm:ss',
            trigger: 'click'
        });

    });

    memberAccount.init();
</script>
</body>
</html>